#ifndef __SPL06_H
#define __SPL06_H



#include "app_include.h"
#include "filter.h"


void AK09915_CS(uint8_t enable);
uint8_t AK09915_Write(uint8_t *data,uint16_t length);
uint8_t AK09915_Read(uint8_t *data,uint16_t length);
void SPL06_WriteReg(uint8_t reg,uint8_t data);
uint8_t SPL06_ReadReg(uint8_t reg);
void SPL06_Init(void);
void SPL06_GetData(void);
void SPL06_GetHeight(void);


#endif

